import { AppstoreAddOutlined, BarsOutlined } from "@ant-design/icons";
import { Tabs } from "antd";
import Lib from "./ComponentLib";

export default function LeftPanel() {
  const tabsItems = [
    {
      key: "componentLib",
      label: <span>组件库</span>,
      children: <Lib />,
      icon: <AppstoreAddOutlined />,
    },
    {
      key: "layers",
      label: <span>图层</span>,
      children: <div>图层</div>,
      icon: <BarsOutlined />,
    },
  ];
  return <Tabs defaultActiveKey="componentLib" items={tabsItems} />;
}
